package com.tencent.wxcloudrun.controller.form;

import com.tencent.wxcloudrun.model.Task;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
public class TaskStatusUpdateForm extends AdminOperateBaseForm {
    @NotNull(message = "id不能为空")
    private Long taskId;
    @NotBlank(message = "任务状态不能为空")
    private Task.TaskStatus status;  // 任务状态


    private LocalDate actualRepaymentDate; //还款时间
    private Double overdueAmount;  // 逾期金额

    // Getters and Setters
}
